{% extends "base.html" %}
{% load humanize %}

{% block title %}Artifact List{% endblock %}

{% block content %}
{{ artifact_list_header }}

<ul>
{% for page_artifact in artifact_list %}
	<li>
		<a href="{{ page_artifact.get_absolute_url }}">
			<img src="{{ page_artifact.artifact.get_mime_url }}" align="left" alt="" width="48px" height="48px">
		</a>
		<p align="left">
			<a href='{{ page_artifact.get_absolute_url }}'>
				{{ page_artifact.artifact.title }}</a>
			<a href='{{ page_artifact.artifact.file.url }}'>(download)</a>
			<br/>
			Uploaded {{page_artifact.artifact.updated|timesince }} ago</br>
{% empty %}
	<li>No artifacts
{% endfor %}
</ul>
{% endblock %}
